@import "~taro-ui-vue/dist/style/components/icon.scss";

.group-ranking {
  height: 100vh;
  background-repeat: no-repeat;
  background-color: #fff7e0;
  background-size: 100% auto;
  display: flex;
  flex-direction: column;
  .headWhite {
    background-color: #ffffff;
  }
  .group-ranking-scroll {
    flex: 1;
    overflow: hidden;
    // background: url("http://xthk-edu-test.oss-cn-shenzhen.aliyuncs.com/public/20201207/1607311365784.png")
    //     no-repeat,
    //   #fff7e0; 
    .personal-ranking-wrap {
      padding: 60px 30px 0;
      .personal-ranking {
        display: flex;
        justify-content: center;
        align-items: center;
        padding-top: 32px;
        .side {
          padding-top: 24px;
          flex: 1;
          text-align: center;
          .num {
            font-size: 40px;
            font-weight: bold;
            line-height: 48px;
            color: #303133;
          }
          .text {
            padding-top: 10px;
            font-size: 24px;
            font-weight: 400;
            line-height: 34px;
            color: #999999;
          }
        }
        .center {
          width: 2px;
          height: 60px;
          background: #cb9064;
          border-radius: 24px;
        }
      }
    }
    &_wrap {
      display: flex;
      flex-direction: column;
      height: 100%;
    } 
    .list-wrap {
      margin-top: 32px; 
      flex: 1;
      .top-tips {
        font-size: 28px;
        font-weight: 400;
        line-height: 40px;
        color: #909399;
        margin-bottom: 32px;
      }
      .list-item {
        height: 120px;
        border: 2px solid #f6cd88;
        background: #fff9e0;
        padding: 14px 22px;
        border-radius: 16px;
        margin-bottom: 24px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        .left {
          flex: 1;
          display: flex;
          align-items: center;
          .ranking-img {
            width: 76px;
            height: 76px;
          }
          .ranking {
            width: 76px;
            height: 76px;
            font-size: 40px;
            font-weight: bold;
            line-height: 76px;
            text-align: center;
            color: #303133;
            position: relative;
          }
          .ranking::after {
            content: ""; /*CSS伪类用法*/
            position: absolute; /*定位背景横线的位置*/
            bottom: 18px;
            left: 50%;
            transform: translateX(-50%);
            width: 40px;
            height: 8px;
            background: #ff8000;
            border-radius: 50%;
            opacity: 0.3;
          }
          .avatar {
            margin-left: 14px;
            width: 72px;
            height: 72px;
            border: 2px solid #ffffff;
            border-radius: 50%;
          }
          .name {
            margin-left: 24px;
            font-size: 32px;
            font-weight: 500;
            color: #303133;
          }
        }
        .right {
          display: flex;
          align-items: center;
          .petal {
            width: 44px;
            height: 44px;
            margin-right: 8px;
          }
          .num {
            padding-right: 18px;
            font-size: 28px;
            font-weight: 400;
            color: #303133;
          }
        }
      }
    }
  }
  .view-more {
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 10;
    .mask {
      width: 100%;
      height: 120px;
      background: linear-gradient(
        180deg,
        rgba(255, 253, 249, 0) 0%,
        #fffdf9 100%
      );
    }
    .text {
      width: 100%;
      height: 120px;
      background: #fffdf9;
      font-size: 28px;
      font-weight: 400;
      line-height: 120px;
      color: #303133;
      text-align: center;
      .icon {
        line-height: 120px;
        margin-left: 4px;
      }
    }
  }
  .want-add-wrap {
    padding: 16px 0;
    box-sizing: content-box;
    background-color: #ffffff;
    .want-add {
      margin: 0 auto;
    }
  }
  .ranking-modal {
    .modal-title {
      position: absolute;
      top: 0;
      left: 50%;
      text-align: center;
      box-sizing: border-box;
      width: 394px;
      height: 80px;
      background-repeat: no-repeat;
      background-size: 100%;
      transform: translate3d(-50%, -50%, 0);
      line-height: 80px;
      font-size: 32px;
      font-weight: bold;
      color: #a13d0f;
    }
    .custom-comtainer-close {
      margin: 20px 30px 48px 0;
    }
    .rule-modal {
      flex: 1;
      overflow-x: hidden;
      padding: 0 30px;
      view {
        text-align: left;
        line-height: 48px;
        font-size: 28px;
        font-family: PingFang SC;
        font-weight: 400;
        color: #303133;
      }
    }
  }

  .semicircle-button .strategy-btn {
    background-color: #FF8000;
  }
  .modal {
    position:absolute;
    bottom: 0;
    left: 0;
    height: 30px;
    width: 100%;
    background-color:#ffffff;
  }
}
